package ym.ecrm.web.action.systemManagement;

import org.springframework.beans.factory.annotation.Autowired;

import ym.ecrm.core.common.util.Pager;
import ym.ecrm.core.dto.systemManagement.ResourceDTO;
import ym.ecrm.core.service.systemManagement.ISystemService;
import ym.ecrm.web.action.base.BaseAction;

/**
 * 
 * @author Princess
 * 
 */
public class ListResourceAction extends BaseAction {

	private int page;
	private int limit;
	private Pager<ResourceDTO> pager;
	
	@Autowired
	private ISystemService systemService;

	public String execute() {
		return proccess();
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public String getSuccess() {
		return success;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public Pager<ResourceDTO> getPager() {
		return pager;
	}
	
	public void setPager(Pager<ResourceDTO> pager) {
		this.pager = pager;
	}
	
}
